import type { ExtractPropTypes, PropType } from "vue";
import { type DialogProps } from "element-plus";

export const defualtProps = {
  modelValue: {
    type: Boolean as PropType<boolean>,
    default: false
  },
  config: {
    type: Object as PropType<DialogProps>,
    default: () => {},
    required: false
  },
  showFooter: {
    type: Boolean as PropType<boolean>,
    default: true
  }
};

export type SnoDialogProps = ExtractPropTypes<typeof defualtProps>;
